import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/styles/reset.css' // 初始化css
import vant from 'vant'
import 'vant/lib/index.css' // 全局引入vantui样式
import 'default-passive-events'
import svgIcon from '@/components/SvgIcon/svgIcon.vue' // svgicon组件
import './utils/rem' // 移动端rem
import '@/styles/index.scss' // 全局通用样式

// 路由拦截器 用这个是为了设置一下title...
import './permission'

const app = createApp(App)

app
  .use(router)
  .use(store)
  .use(vant)
  .component('svg-icon', svgIcon)
  .mount('#app')
